package com.util;

import java.io.IOException;
import java.io.InputStream;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import java.util.Map;
import java.util.Properties;

import net.sf.jxls.transformer.XLSTransformer;

/**
 * Excel生成工具类.  
 * @author
 *
 */
public class ExcelUtil {
    /**
     * 读取生成文件路径
     * @return
     * @throws IOException
     */
    public static String readValueSC() throws IOException {
		InputStream in = Thread.currentThread().getContextClassLoader().getResourceAsStream("config.properties");
        Properties properties = new Properties();
        properties.load(in);
        String str = properties.getProperty("filePath");
        str = URLDecoder.decode(str, "UTF-8");
		return str;
	}
   
}  